package com.bioscript.standalone.IO.baseClasses;

import java.util.Map;
import com.bioscript.standalone.UtilMethods;

public abstract class BaseListener<E extends BaseEvent> {
	public abstract void handleEvent(E event);
	protected Map<String, Object> hashMap = UtilMethods.newHashMap();
	
	public Object getValue(String str)
	{
		return hashMap.get(str);
	}
	
	public void insert(String key, Object obj)
	{
		hashMap.put(key, obj);
	}
} // BaseListener
